package edu.dayu.bridge;

import java.util.Random;

public abstract class RefineCoffee extends Coffee{

    public RefineCoffee(ICoffeeAdditives additives) {
        super(additives);
    }

    // 这里面可以对 coffee 增加一些功能
    public void checkQuality(){
        Random ran=new Random();
        System.out.println(String.format("%s 添加%s",additives.getClass().getSimpleName(),ran.nextBoolean()?"太多":"正常"));
    }
}
